package org.jsserv.example.control;

public class Node
{
    private String id,name,link;
    
    private Node[] children;
    
    public Node(String id, String name, String link, Node... children)
    {
        this.id=id;
        this.name=name;
        this.link=link;
        this.children=children;
    }

    public String getId()
    {
        return id;
    }

    public String getName()
    {
        return name;
    }

    public String getLink()
    {
        return link;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public void setLink(String link)
    {
        this.link = link;
    }
    
    public Node[] getChildren()
    {
        return children;
    }
}
